qtbase-opensource-src.git
4 years agoMerge version 5.15.2+dfsg-2+rpi1 and 5.15.2+dfsg-4 to produce 5.15.2+dfsg-4+rpi1 archive/raspbian/5.15.2+dfsg-4+rpi1 raspbian/5.15.2+dfsg-4+rpi1
Raspbian automatic forward porter [Sun, 7 Feb 2021 23:39:19 +0000 (23:39 +0000)]
Merge version 5.15.2+dfsg-2+rpi1 and 5.15.2+dfsg-4 to produce 5.15.2+dfsg-4+rpi1

5 years agoMerge qtbase-opensource-src (5.15.2+dfsg-4) import into refs/heads/workingbranch
Dmitry Shachnev [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
Merge qtbase-opensource-src (5.15.2+dfsg-4) import into refs/heads/workingbranch

5 years agocall pkgconfig in order to be able to cross build qtbase with MySql.
Helmut Grohne [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff

5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoinclude <limits> to fix some GCC 11 build issues
Debian Qt/KDE Maintainers [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
include <limits> to fix some GCC 11 build issues

Origin: upstream, commits:
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8
Last-Update: 2021-01-26

Gbp-Pq: Name gcc_11_limits.diff

5 years agoQNAM: work around QObject finicky orphan cleanup details
Debian Qt/KDE Maintainers [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
QNAM: work around QObject finicky orphan cleanup details

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0807f16eb407eaf8
Last-Update: 2021-01-26

Gbp-Pq: Name qnam_connect_memory_leak.diff

5 years agoAvoid use-after-free in QXcbConnection::initializeScreens()
Debian Qt/KDE Maintainers [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
Avoid use-after-free in QXcbConnection::initializeScreens()

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=86b8c5c3f32c2457
Last-Update: 2020-11-23

Gbp-Pq: Name xcb_screens_uaf.patch

5 years agoqtbase-opensource-src (5.15.2+dfsg-4) unstable; urgency=medium
Dmitry Shachnev [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
qtbase-opensource-src (5.15.2+dfsg-4) unstable; urgency=medium

  * Add Conflicts: against the -gles packages, to make that relation mutual.
    (Thanks to David Kalnischkies for the suggestion; see also #976389.)

[dgit import unpatched qtbase-opensource-src 5.15.2+dfsg-4]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg-4.debian.tar.xz
Dmitry Shachnev [Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg-4.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.2+dfsg-4 qtbase-opensource-src_5.15.2+dfsg-4.debian.tar.xz]

5 years agoMerge qtbase-opensource-src (5.15.2+dfsg-3) import into refs/heads/workingbranch
Dmitry Shachnev [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
Merge qtbase-opensource-src (5.15.2+dfsg-3) import into refs/heads/workingbranch

5 years agocall pkgconfig in order to be able to cross build qtbase with MySql.
Helmut Grohne [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff

5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoinclude <limits> to fix some GCC 11 build issues
Debian Qt/KDE Maintainers [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
include <limits> to fix some GCC 11 build issues

Origin: upstream, commits:
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986
 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8
Last-Update: 2021-01-26

Gbp-Pq: Name gcc_11_limits.diff

5 years agoQNAM: work around QObject finicky orphan cleanup details
Debian Qt/KDE Maintainers [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
QNAM: work around QObject finicky orphan cleanup details

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0807f16eb407eaf8
Last-Update: 2021-01-26

Gbp-Pq: Name qnam_connect_memory_leak.diff

5 years agoAvoid use-after-free in QXcbConnection::initializeScreens()
Debian Qt/KDE Maintainers [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
Avoid use-after-free in QXcbConnection::initializeScreens()

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=86b8c5c3f32c2457
Last-Update: 2020-11-23

Gbp-Pq: Name xcb_screens_uaf.patch

5 years agoqtbase-opensource-src (5.15.2+dfsg-3) unstable; urgency=medium
Dmitry Shachnev [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
qtbase-opensource-src (5.15.2+dfsg-3) unstable; urgency=medium

  * Backport upstream patch to fix memory leak in QNetworkAccessManager
    from QMetaObjectPrivate::connect.
  * Backport upstream changes to add #include <limits> for GCC 11.
  * Update debian/watch: use format 4, and track only 5.15.x releases.
  * Update debian/libqt5core5a.symbols for hurd-i386.

[dgit import unpatched qtbase-opensource-src 5.15.2+dfsg-3]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg-3.debian.tar.xz
Dmitry Shachnev [Tue, 26 Jan 2021 17:17:11 +0000 (17:17 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg-3.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.2+dfsg-3 qtbase-opensource-src_5.15.2+dfsg-3.debian.tar.xz]

5 years agoMerge version 5.15.1+dfsg-4+rpi1 and 5.15.2+dfsg-2 to produce 5.15.2+dfsg-2+rpi1 archive/raspbian/5.15.2+dfsg-2+rpi1 raspbian/5.15.2+dfsg-2+rpi1
Raspbian automatic forward porter [Fri, 18 Dec 2020 15:21:32 +0000 (15:21 +0000)]
Merge version 5.15.1+dfsg-4+rpi1 and 5.15.2+dfsg-2 to produce 5.15.2+dfsg-2+rpi1

5 years agoMerge qtbase-opensource-src (5.15.2+dfsg-2) import into refs/heads/workingbranch
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Merge qtbase-opensource-src (5.15.2+dfsg-2) import into refs/heads/workingbranch

5 years agocall pkgconfig in order to be able to cross build qtbase with MySql.
Helmut Grohne [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff

5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoAvoid use-after-free in QXcbConnection::initializeScreens()
Debian Qt/KDE Maintainers [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Avoid use-after-free in QXcbConnection::initializeScreens()

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=86b8c5c3f32c2457
Last-Update: 2020-11-23

Gbp-Pq: Name xcb_screens_uaf.patch

5 years agoqtbase-opensource-src (5.15.2+dfsg-2) unstable; urgency=medium
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
qtbase-opensource-src (5.15.2+dfsg-2) unstable; urgency=medium

  [ Alexander Volkov ]
  * Backport upstream patch xcb_screens_uaf.patch in order to fix
    use-after-free in the xcb plugin.

  [ Dmitry Shachnev ]
  * Build with libxcb-util-dev 0.4.0 which Debian now has.
    - Drop loosen_xcb-util_requirement.diff, no longer needed.
  * Bump Standards-Version to 4.5.1, no changes needed.
  * Upload to unstable.

  [ Lisandro Damián Nicanor Pérez Meyer ]
  * Build the experimental XCB native painting engine. This has been disabled
    as a default by upstream, but our X2Go users do really benefit from it if
    they export QT_XCB_NATIVE_PAINTING (Closes: #976274).

[dgit import unpatched qtbase-opensource-src 5.15.2+dfsg-2]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg-2.debian.tar.xz
Dmitry Shachnev [Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg-2.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.2+dfsg-2 qtbase-opensource-src_5.15.2+dfsg-2.debian.tar.xz]

5 years agoMerge version 5.15.1+dfsg-2+rpi1 and 5.15.1+dfsg-4 to produce 5.15.1+dfsg-4+rpi1 archive/raspbian/5.15.1+dfsg-4+rpi1 raspbian/5.15.1+dfsg-4+rpi1
Raspbian automatic forward porter [Tue, 1 Dec 2020 16:30:11 +0000 (16:30 +0000)]
Merge version 5.15.1+dfsg-2+rpi1 and 5.15.1+dfsg-4 to produce 5.15.1+dfsg-4+rpi1

5 years agoMerge qtbase-opensource-src (5.15.1+dfsg-4) import into refs/heads/workingbranch
Lisandro Damián Nicanor Pérez Meyer [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
Merge qtbase-opensource-src (5.15.1+dfsg-4) import into refs/heads/workingbranch

5 years agocall pkgconfig in order to be able to cross build qtbase with MySql.
Helmut Grohne [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff

5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoAvoid use-after-free in QXcbConnection::initializeScreens()
Debian Qt/KDE Maintainers [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
Avoid use-after-free in QXcbConnection::initializeScreens()

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=86b8c5c3f32c2457
Last-Update: 2020-11-23

Gbp-Pq: Name xcb_screens_uaf.patch

5 years agoask clone() to use the SIGCHLD as the termination signal
Debian Qt/KDE Maintainers [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
ask clone() to use the SIGCHLD as the termination signal

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=a82032351c921c3d
Last-Update: 2020-11-19

Because of these lines in the Linux kernel (kernel/fork.c, see [1][3]):

    if (clone_flags & CLONE_VFORK)
        trace = PTRACE_EVENT_VFORK;
    else if (args->exit_signal != SIGCHLD)
        trace = PTRACE_EVENT_CLONE;
    else
        trace = PTRACE_EVENT_FORK;

Without CLONE_VFORK (which we can't use), if the exit signal isn't
SIGCHLD, the debugger will get a PTRACE_EVENT_CLONE, which makes it
think the process we're starting is a thread, not a new process. Both
gdb and lldb remain attached to the child and when it later performs an
execve(), they get mightily confused. See gdb bug report[5].

The idea of not having an exit_signal was so that no SIGCHLD would be
delivered to the parent process in the first place. That way, some
misguided SIGCHLD handler (*cough* GLib *cough*) wouldn't reap our
processes. Unfortunately, what I didn't realize was that the kernel
sends SIGCHLD anyway (see [2][4]), so this defensive measure didn't
actually work. Consequently, we can pass SIGCHLD to clone() and get the
debuggers working again.

[1] https://code.woboq.org/linux/linux/kernel/fork.c.html#_do_fork
[2] https://code.woboq.org/linux/linux/kernel/signal.c.html#do_notify_parent
[3] https://elixir.bootlin.com/linux/v5.8/source/kernel/fork.c#L2432
[4] https://elixir.bootlin.com/linux/v5.8/source/kernel/signal.c#L1925
[5] https://sourceware.org/bugzilla/show_bug.cgi?id=26562

Gbp-Pq: Name clone_sigchld.diff

5 years agoemit QScreen::geometryChanged when the logical DPI changes
Debian Qt/KDE Maintainers [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
emit QScreen::geometryChanged when the logical DPI changes

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=5c7307775d32ae0a
Last-Update: 2020-09-30

Add the missing call to QScreenPrivate::emitGeometryChangeSignals()
along with an emission of physicalDotsPerInchChanged()
since that is calculated from geometry and physical size.

Rearrange the code in
QGuiApplicationPrivate::processScreenGeometryChange()
to prevent duplicate emissions of geometryChanged(),
physicalDotsPerInchChanged() which this change would introduce.

Gbp-Pq: Name emit_geometry_changed.diff

5 years agoqtbase-opensource-src (5.15.1+dfsg-4) unstable; urgency=medium
Lisandro Damián Nicanor Pérez Meyer [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
qtbase-opensource-src (5.15.1+dfsg-4) unstable; urgency=medium

  [ Alexander Volkov ]
  * Backport upstream patch xcb_screens_uaf.patch in order to fix
    use-after-free in the xcb plugin.

[dgit import unpatched qtbase-opensource-src 5.15.1+dfsg-4]

5 years agoImport qtbase-opensource-src_5.15.1+dfsg-4.debian.tar.xz
Lisandro Damián Nicanor Pérez Meyer [Mon, 23 Nov 2020 18:16:00 +0000 (18:16 +0000)]
Import qtbase-opensource-src_5.15.1+dfsg-4.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.1+dfsg-4 qtbase-opensource-src_5.15.1+dfsg-4.debian.tar.xz]

5 years agoImport qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz
Dmitry Shachnev [Fri, 20 Nov 2020 13:08:35 +0000 (13:08 +0000)]
Import qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.15.2+dfsg.orig.tar.xz]

5 years agoMerge version 5.14.2+dfsg-6+rpi1 and 5.15.1+dfsg-2 to produce 5.15.1+dfsg-2+rpi1 archive/raspbian/5.15.1+dfsg-2+rpi1 raspbian/5.15.1+dfsg-2+rpi1
Raspbian automatic forward porter [Fri, 6 Nov 2020 17:21:16 +0000 (17:21 +0000)]
Merge version 5.14.2+dfsg-6+rpi1 and 5.15.1+dfsg-2 to produce 5.15.1+dfsg-2+rpi1

5 years agoMerge qtbase-opensource-src (5.15.1+dfsg-2) import into refs/heads/workingbranch
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Merge qtbase-opensource-src (5.15.1+dfsg-2) import into refs/heads/workingbranch

5 years agocall pkgconfig in order to be able to cross build qtbase with MySql.
Helmut Grohne [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff

5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoemit QScreen::geometryChanged when the logical DPI changes
Debian Qt/KDE Maintainers [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
emit QScreen::geometryChanged when the logical DPI changes

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=5c7307775d32ae0a
Last-Update: 2020-09-30

Add the missing call to QScreenPrivate::emitGeometryChangeSignals()
along with an emission of physicalDotsPerInchChanged()
since that is calculated from geometry and physical size.

Rearrange the code in
QGuiApplicationPrivate::processScreenGeometryChange()
to prevent duplicate emissions of geometryChanged(),
physicalDotsPerInchChanged() which this change would introduce.

Gbp-Pq: Name emit_geometry_changed.diff

5 years agoqtbase-opensource-src (5.15.1+dfsg-2) unstable; urgency=medium
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
qtbase-opensource-src (5.15.1+dfsg-2) unstable; urgency=medium

  [ Dmitry Shachnev ]
  * Backport upstream patch to fix multiscreen-related regression that
    affects Plasma.
  * Update debian/libqt5core5a.symbols from buildds’ logs.
  * Upload to unstable.

  [ Lisandro Damián Nicanor Pérez Meyer ]
  * Apply cross_build_mysql.diff to get closer to cross building on a Debian
    environment. Thanks Helmut Grohne for the patch! (Closes: #971604).
  * Remove qt5-default. Nowadays it's not needed as Qt 5 is the only Qt version
    in Debian and it brought more problems than solutions.

  [ Helmut Grohne ]
  * qmake cross wrapper: Allow passing -qt5. (Closes: #972640)

[dgit import unpatched qtbase-opensource-src 5.15.1+dfsg-2]

5 years agoImport qtbase-opensource-src_5.15.1+dfsg-2.debian.tar.xz
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Import qtbase-opensource-src_5.15.1+dfsg-2.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.1+dfsg-2 qtbase-opensource-src_5.15.1+dfsg-2.debian.tar.xz]

5 years agoImport qtbase-opensource-src_5.15.1+dfsg.orig.tar.xz
Dmitry Shachnev [Thu, 10 Sep 2020 11:41:18 +0000 (12:41 +0100)]
Import qtbase-opensource-src_5.15.1+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.15.1+dfsg.orig.tar.xz]

5 years agoMerge version 5.14.2+dfsg-5+rpi1 and 5.14.2+dfsg-6 to produce 5.14.2+dfsg-6+rpi1 archive/raspbian/5.14.2+dfsg-6+rpi1 raspbian/5.14.2+dfsg-6+rpi1
Raspbian automatic forward porter [Tue, 25 Aug 2020 16:27:28 +0000 (17:27 +0100)]
Merge version 5.14.2+dfsg-5+rpi1 and 5.14.2+dfsg-6 to produce 5.14.2+dfsg-6+rpi1

5 years agoMerge qtbase-opensource-src (5.14.2+dfsg-6) import into refs/heads/workingbranch
Dmitry Shachnev [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
Merge qtbase-opensource-src (5.14.2+dfsg-6) import into refs/heads/workingbranch

5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoOpenSSL: handle SSL_shutdown's errors properly
Debian Qt/KDE Maintainers [Wed, 19 Aug 2020 17:40:32 +0000 (18:40 +0100)]
OpenSSL: handle SSL_shutdown's errors properly

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=8ddffc6ba4f38bb8
Last-Update: 2020-08-19

Do not call SSL_shutdown on a session that is in handshake state (SSL_in_init(s)
returns 1). Also, do not call SSL_shutdown if a session encountered a fatal
error (SSL_ERROR_SYSCALL or SSL_ERROR_SSL was found before). If SSL_shutdown
was unsuccessful (returned code != 1), we have to clear the error(s) it queued.
Unfortunately, SSL_in_init was a macro in OpenSSL 1.0.x. We have to
resolve SSL_state to implement SSL_in_init.

Gbp-Pq: Name CVE-2020-13962.diff